<template>
    <div>
        欢迎来到 Hello 页面
        <el-button type="success" @click="go">Go to Home</el-button>
    </div>

</template>

<script setup>
import { useRouter } from 'vue-router';
const router = useRouter();
const go = () => {
    router.push({
        path: '/vue',
    });
}


</script>